﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using V5_Common;

namespace V5_EShop {
    public partial class Index : System.Web.UI.Page {
        protected void Page_Load(object sender, EventArgs e) {
            if (!this.IsPostBack) {
                string pageName = Input.SetString(Request["T"]);
                string TemplateDir = "Default";
                pageName = pageName == string.Empty ? "index" : pageName;
                Server.Transfer("~/Template/" + TemplateDir + "/" + pageName + ".aspx");
            }
        }
    }
}